def cal_sum(*args):
    def sum1():
        ax = 0
        for n in args:
            ax = ax + n
        return ax

    return sum1


f1 = cal_sum(1, 2, 3, 4, 5)
f2 = cal_sum(1, 2, 3, 4, 5)
print(f1)
print(f2)
print(f1 == f2)
